package com.example.nbshopping.login;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.example.nbshopping.R;

public class AboutActivity extends AppCompatActivity implements View.OnClickListener{
    private ImageView about_iv_back;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        initView();
        setListener();
    }
    private void setListener() {
        about_iv_back.setOnClickListener(this);
    }

    private void initView() {
        about_iv_back=findViewById(R.id.about_iv_back);
    }

    @Override
    public void onClick(View v) {
        switch(v.getId()){
            case R.id.about_iv_back:
                finish();
        }
    }
}